5abfc315259462111466b1e39e768a4e150d51fd,modules/spring-config/src/main/java/org/mule/config/spring/SpringXmlConfigurationMuleArtifactFactory.java,SpringXmlConfigurationMuleArtifactFactory,addSchemaLocation,#Element#org.w3c.dom.Element#XmlConfigurationCallback#,281
Before Change
{
StringBuffer schemaLocation = new StringBuffer();
schemaLocation.append("http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd\n");
schemaLocation.append(element.getNamespaceURI() + " "
+ callback.getSchemaLocation(element.getNamespaceURI()));
rootElement.addAttribute(
org.dom4j.QName.get("schemaLocation", "xsi", "http://www.w3.org/2001/XMLSchema-instance"),
After Change
Map<String, String> schemaLocations)
{
String key = element.getNamespaceURI();
if (key != null && !schemaLocations.containsKey(key))
{
schemaLocations.put(element.getNamespaceURI(), callback.getSchemaLocation(element.getNamespaceURI()));
}
}